package com.marketapp.dao;

import java.util.List;

import com.marketapp.domain.Equity;
import com.marketapp.domain.Sector;
import com.marketapp.helper.DaoException;
import com.marketapp.helper.ServiceException;

public interface IEquityDao {
	
	public List<Equity> getAllEquity() throws DaoException;
	
	public List<Equity> getAllEquityByName(String equityName) throws DaoException;
	
	public List<Equity> getAllEquityBySector(Sector equitySector) throws DaoException;
	
	public void saveEquity(Equity equity) throws DaoException; 
	
	public List<Equity> checkIfEquityExists(String BSEID, String NSEID, String ISIN) throws DaoException;
	
}
